﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StarPizza.Model.BaseModel
{
    class CustomPizzaTemplate : IPizzaTemplate
    {
        IEnumerable<Topping> toppings;
        
        string name;
        public string Name { get { return name; } }
        public CustomPizzaTemplate(IEnumerable<Topping> toppings, string name)
        {
            this.name = name;
            this.toppings = toppings;
        }
        public IEnumerable<Topping> Toppings 
        {
            get { return toppings; }
        }
        public Nullable<int> ReferencableID
        {
            get { return null; }
        }
    }
}
